<template>
  <Tooltip
    popper-class="ToolTipCom"
    ref="tooltipRef"
    :content="showContent"
    :placement="placement"
  >
  </Tooltip>
</template>

<script>
import { Tooltip } from 'element-ui'

export default {
  name: 'ToolTipCom',
  components: {
    Tooltip
  },
  data() {
    return {
      showContent: '',
      placement: ''
    }
  },
  computed: {
    tip() {
      return this.$refs.tooltipRef
    }
  },
}
</script>

<style lang="scss">
.ToolTipCom{
}
</style>
